﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="BookComposer.MainWindow"
        Title="MainWindow" Height="582" Width="525">
    <Grid>
		<Grid Margin="0,0,0,167" Height="40" VerticalAlignment="Bottom" Background="#FF00A5A9">
			<TextBlock Text="Books loaded" Foreground="White" HorizontalAlignment="Left" Width="108" Margin="8,4,0,0" Height="15.96" VerticalAlignment="Top" />
			<ProgressBar x:Name="booksProgress" Margin="116,4,12,0" Height="15.96" VerticalAlignment="Top" />
        
			<TextBlock Text="Pages loaded" Foreground="White" HorizontalAlignment="Left" Width="108" Margin="8,19.96,0,4.08" />
			<ProgressBar x:Name="pagesProgress" Margin="116,19.96,12,4.08" />
		</Grid>
		<Grid Margin="10">
			<Grid.RowDefinitions>
				<RowDefinition Height="155.72" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="489"/>
			</Grid.ColumnDefinitions>
        
			<TextBlock Text="Folder containing input files" TextWrapping="WrapWithOverflow" HorizontalAlignment="Left" Width="108" Height="31.92" VerticalAlignment="Top" />
			<TextBox x:Name="C_TextIn" Text="D:\deepzoom" Height="24" Margin="108,3.96,46.25,0" VerticalAlignment="Top" d:LayoutOverrides="Height" />
        
			<TextBlock Text="Output folder" HorizontalAlignment="Left" Width="108" Margin="0,34.92,0,0" Height="21" VerticalAlignment="Top"/>
            <TextBox Text="D:\deepzoom\BooksDZC" x:Name="C_TextOut" Height="24" Margin="108,31.92,46.25,0" VerticalAlignment="Top" d:LayoutOverrides="Height" />
        
			<TextBlock Text="Maximum of pages filter" TextWrapping="WrapWithOverflow" HorizontalAlignment="Left" Width="108" Margin="0,55.92,0,67.88" />
			<TextBox x:Name="tbxUpperBound" Text="200" Height="24" HorizontalAlignment="Left" Margin="108,59.88,0,71.84" Width="74" />
        
			<Button Content="Crate new base" x:Name="btRun" Margin="0,59.92,8,71.84" Click="RunClick" HorizontalAlignment="Right" Width="162" />
        
			<TextBlock x:Name="tbxBook" VerticalAlignment="Bottom" Margin="-11.843,0,0,-138.28"/>
			<TextBlock x:Name="tbxStatus" VerticalAlignment="Bottom" Margin="0,0,0,-158.24"/>
			<Button x:Name="btUpdateTitles" Content="Add Books" Click="btUpdateTitles_Click" Margin="0,131.76,0,23.96" HorizontalAlignment="Right" Width="63.157" />

			<Button Click="C_In_Click" x:Name="C_In" Content="..." Margin="0,4.48,8,0" HorizontalAlignment="Right" Width="34.25" Height="22.96" VerticalAlignment="Top"/>
			<Button Click="C_Out_Click" x:Name="C_Out" Content="..." Margin="0,31.92,8,0" HorizontalAlignment="Right" Width="34.25" Height="22.96" VerticalAlignment="Top"/>
			<TextBlock Text="Folder containing input files" TextWrapping="WrapWithOverflow" HorizontalAlignment="Left" Width="108" Height="31.92" VerticalAlignment="Bottom" Margin="0,0,0,3.52" />
			<TextBox x:Name="C_TextInAdd" Text="D:\deepzoom" Height="24" Margin="108,0,46.25,7.48" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
			<Button Click="C_In_Click" x:Name="C_In_Copy" Content="..." Margin="0,0,8,8" HorizontalAlignment="Right" Width="34.25" Height="22.96" VerticalAlignment="Bottom"/>
			<Rectangle Height="24.44" Margin="-11.843,0,-13,39.44" VerticalAlignment="Bottom" Fill="#FFF17A00"/>
			<TextBlock Text="Output folder" HorizontalAlignment="Left" Width="108" Margin="0,0,0,-24" Height="21" VerticalAlignment="Bottom"/>
			<TextBox Text="D:\deepzoom\BooksDZC" x:Name="C_TextOutAdd" Height="24" Margin="108,0,46.25,-24" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
			<Button Click="C_Out_Click" x:Name="C_Out_Copy" Content="..." Margin="0,0,8,-22.96" HorizontalAlignment="Right" Width="34.25" Height="22.96" VerticalAlignment="Bottom"/>
			<TextBlock Text="Maximum of pages filter" TextWrapping="WrapWithOverflow" HorizontalAlignment="Left" Width="108" Margin="0,0,0,-98.24" Height="31.92" VerticalAlignment="Bottom" />
			<TextBox x:Name="tbxUpperBound_Copy" Text="200" Height="24" HorizontalAlignment="Left" Margin="108,0,0,-94.28" Width="74" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
			<TextBlock Text="Title folder" HorizontalAlignment="Left" Width="108" Margin="0,0,0,-56.32" Height="21" VerticalAlignment="Bottom"/>
			<TextBox Text="D:\deepzoom\BooksDZC\title_image" x:Name="C_TextImageAdd" Height="24" Margin="108,0,46.25,-56.32" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
			<Button Click="C_Image_Click" x:Name="C_Out_Copy1" Content="..." Margin="0,0,8,-55.28" HorizontalAlignment="Right" Width="34.25" Height="22.96" VerticalAlignment="Bottom"/>
            <Button Content="Add element" x:Name="btRun_Copy" Margin="0,0,8,-94.28" Click=" btUpdateTitles_Click" HorizontalAlignment="Right" Width="162" Height="24" VerticalAlignment="Bottom" />

		</Grid>
	</Grid>
</Window>
